//
//  DataCenter+Cube.h
//  bsl-sdk
//
//  Created by Fanty on 13-12-2.
//
//

#import <Foundation/Foundation.h>

@class CubeModel;

@interface DataCenter:NSObject

+(DataCenter*)defaultCenter;

//设备device token
@property(nonatomic,strong) NSString* deviceToken;

//应用token
@property(nonatomic,strong) NSString* appToken;

//应用token 过期时间
@property(nonatomic,strong) NSDate* appTokeExpired;


//已下载模块
@property(nonatomic,strong) NSMutableArray* installMoudules;

//服务器模块
@property(nonatomic,strong) NSArray* serviceModules;

//查找已下载的模块
-(CubeModel*)finidInstallCubeModule:(NSString*)identifier;

//查找服务器模块
-(CubeModel*)finidServiceCubeModule:(NSString*)identifier;

-(CubeModel*)findMainCubeModule;

//获取未下载模块
-(NSArray*)uninstallModules;

//待更新模块列表
-(NSArray*)updatableModules;

//获取所有模块
-(NSArray*)allModules;


@end
